package com.coder.baseapp.mvp.model.entity.def;

/**
 * @Author: Tua.CoderGui
 * *
 * @Date: 2017/3/11
 * *
 * Copyright (c) 2017 All Rights Reserved.
 */
public class ResponseEntity<T> {
    /**
     * code : 200
     * msg : success
     * data : {"UserID":2,"LoginName":"admin","Telphone":"","PG_Root":"1","WX_Root":"1","HX_UserID":"1_2","Token":"101b1baa59d046a28c2ea57f6e3f50ed","HeadUrl":"attachment/Employee/2017-03-04/2_0_cf2017_03_02_17_53_05.jpg","CompanyName":"北京中科华博科技有限公司","CompanyID":-9057}
     */
    private int code = -1;
    private String msg;
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
